<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Практика: Исходный файл /home/student/Desktops/Desktop1/doxy/project/src/DecodeGH/tablegh.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Практика
   </div>
   <div id="projectbrief">Приложение - описание классов</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Создано системой Doxygen 1.8.20 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_desktops_2_desktop1_2doxy_2project_2src_2_decode_g_h_2tablegh_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">tablegh.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_desktops_2_desktop1_2doxy_2project_2src_2_decode_g_h_2tablegh_8h.html">См. документацию.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef TABLEGH_H</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define TABLEGH_H</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;QAbstractTableModel&gt;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160; </div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="keyword">class </span><a class="code" href="class_table_g_h.html">TableGH</a> : <span class="keyword">public</span> <a class="code" href="class_q_abstract_table_model.html">QAbstractTableModel</a></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;{</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;    Q_OBJECT</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="class_table_g_h.html#aaa26531874dedf98e2b101d13cea14ed">   11</a></span>&#160;    <span class="keyword">explicit</span> <a class="code" href="class_table_g_h.html#aaa26531874dedf98e2b101d13cea14ed">TableGH</a>(QObject *parent = <span class="keyword">nullptr</span>);</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;    <span class="comment">// Header:</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="class_table_g_h.html#a4328fbd10df82aaf69927d7e5640f814">   14</a></span>&#160;    QVariant <a class="code" href="class_table_g_h.html#a4328fbd10df82aaf69927d7e5640f814">headerData</a>(<span class="keywordtype">int</span> section, Qt::Orientation orientation, <span class="keywordtype">int</span> role = Qt::DisplayRole) <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;    <span class="comment">// Basic functionality:</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="class_table_g_h.html#a2beb2a31924806c572b76865222763b2">   17</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_table_g_h.html#a2beb2a31924806c572b76865222763b2">rowCount</a>(<span class="keyword">const</span> QModelIndex &amp;parent = QModelIndex()) <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="class_table_g_h.html#a3981af6f13d337ae16765e79a752f13b">   18</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_table_g_h.html#a3981af6f13d337ae16765e79a752f13b">columnCount</a>(<span class="keyword">const</span> QModelIndex &amp;parent = QModelIndex()) <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160; </div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_table_g_h.html#ae20573540195dc37d694caaab0af1432">   20</a></span>&#160;    QVariant <a class="code" href="class_table_g_h.html#ae20573540195dc37d694caaab0af1432">data</a>(<span class="keyword">const</span> QModelIndex &amp;index, <span class="keywordtype">int</span> role = Qt::DisplayRole) <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;};</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160; </div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#endif // TABLEGH_H</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclass_q_abstract_table_model_html"><div class="ttname"><a href="class_q_abstract_table_model.html">QAbstractTableModel</a></div></div>
<div class="ttc" id="aclass_table_g_h_html_a2beb2a31924806c572b76865222763b2"><div class="ttname"><a href="class_table_g_h.html#a2beb2a31924806c572b76865222763b2">TableGH::rowCount</a></div><div class="ttdeci">int rowCount(const QModelIndex &amp;parent=QModelIndex()) const override</div></div>
<div class="ttc" id="aclass_table_g_h_html_aaa26531874dedf98e2b101d13cea14ed"><div class="ttname"><a href="class_table_g_h.html#aaa26531874dedf98e2b101d13cea14ed">TableGH::TableGH</a></div><div class="ttdeci">TableGH(QObject *parent=nullptr)</div></div>
<div class="ttc" id="aclass_table_g_h_html"><div class="ttname"><a href="class_table_g_h.html">TableGH</a></div><div class="ttdef"><b>Definition:</b> <a href="alekseev__semen_2project_2src_2_decode_g_h_2tablegh_8h_source.html#l00006">tablegh.h:7</a></div></div>
<div class="ttc" id="aclass_table_g_h_html_a3981af6f13d337ae16765e79a752f13b"><div class="ttname"><a href="class_table_g_h.html#a3981af6f13d337ae16765e79a752f13b">TableGH::columnCount</a></div><div class="ttdeci">int columnCount(const QModelIndex &amp;parent=QModelIndex()) const override</div></div>
<div class="ttc" id="aclass_table_g_h_html_a4328fbd10df82aaf69927d7e5640f814"><div class="ttname"><a href="class_table_g_h.html#a4328fbd10df82aaf69927d7e5640f814">TableGH::headerData</a></div><div class="ttdeci">QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override</div></div>
<div class="ttc" id="aclass_table_g_h_html_ae20573540195dc37d694caaab0af1432"><div class="ttname"><a href="class_table_g_h.html#ae20573540195dc37d694caaab0af1432">TableGH::data</a></div><div class="ttdeci">QVariant data(const QModelIndex &amp;index, int role=Qt::DisplayRole) const override</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_183678fbeee089cc431491ef48af53b7.html">Desktops</a></li><li class="navelem"><a class="el" href="dir_ffb02790d7f1f144fe3d35b54417c8f5.html">Desktop1</a></li><li class="navelem"><a class="el" href="dir_55aaeb8bb53c17700dd585d28461f83a.html">doxy</a></li><li class="navelem"><a class="el" href="dir_61b854c7419c735938733786327d4f1c.html">project</a></li><li class="navelem"><a class="el" href="dir_d6d79dfe7a36821d53e64dfd2c3f76b9.html">src</a></li><li class="navelem"><a class="el" href="dir_8fffeb474c680dfd757dbe742a0ada7a.html">DecodeGH</a></li><li class="navelem"><a class="el" href="_desktops_2_desktop1_2doxy_2project_2src_2_decode_g_h_2tablegh_8h.html">tablegh.h</a></li>
    <li class="footer">Документация по Практика. Последние изменения: Ср 12 Июл 2023 16:10:11. Создано системой <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
